package com.microservice.salmon.db.mapper;

import com.microservice.salmon.db.entities.SysMenu;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SysMenuMapper extends Mapper<SysMenu> {

    List<SysMenu> getMenuInfoByRoleId(@Param("roleId") int roleId);

    List<SysMenu> getMenuInfoByLoginName(@Param("loginName") String loginName);
}